package com.gaosai.staff.domain;

public class Pager {
private int totalRows;
private int pageSize=10;
private int pageNo=1;
private int totalPages;
private int startRow;
private String sort;
private String direction;
public Pager() {
	super();
}
public Pager(int totalRows, int pageSize, int pageNo, int totalPages,
		int startRow, String sort, String direction) {
	super();
	this.totalRows = totalRows;
	this.pageSize = pageSize;
	this.pageNo = pageNo;
	this.totalPages = totalPages;
	this.startRow = startRow;
	this.sort = sort;
	this.direction = direction;
}
public int getTotalRows() {
	return totalRows;
}
public void setTotalRows(int totalRows) {
	this.totalRows = totalRows;
}
public int getPageSize() {
	return pageSize;
}
public void setPageSize(int pageSize) {
	this.pageSize = pageSize;
}
public int getPageNo() {
	return pageNo;
}
public void setPageNo(int pageNo) {
	this.pageNo = pageNo;
}
public int getTotalPages() {
	return totalPages;
}
public void setTotalPages(int totalPages) {
	this.totalPages = totalPages;
}
public int getStartRow() {
	return startRow;
}
public void setStartRow(int startRow) {
	this.startRow = startRow;
}
public String getSort() {
	return sort;
}
public void setSort(String sort) {
	this.sort = sort;
}
public String getDirection() {
	return direction;
}
public void setDirection(String direction) {
	this.direction = direction;
}
	



	
}
